package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_union_change_master", desc = "转让、自动转让会长", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionChangeMaster extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "商会id", isIndex = true)
    private String unionUid;
    @FieldTypeAnnotation(desc = "是否自动")
    private boolean isAuto;
    @FieldTypeAnnotation(desc = "原会长id")
    private long oldMasterUserId;
    @FieldTypeAnnotation(desc = "现会长id")
    private long nowMasterUserId;

    public LogUnionChangeMaster(String unionUid, boolean isAuto, long oldMasterUserId, long nowMasterUserId) {
        this.unionUid = unionUid;
        this.isAuto = isAuto;
        this.oldMasterUserId = oldMasterUserId;
        this.nowMasterUserId = nowMasterUserId;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
